package exercise;

public class EX01_Q16 {

	
	public static void main(String[] args) {
		int n = 1;
		int k = 2;
		int r = n;
		if(k<n)r=k; // n=3 r=n-1
		
		if(n<k)r=k; else r= k + n; //n=0 
		
		if(r<k)n=r; else k = n; //
		
		if(r<n+k)r=2*n; else k=2*r;
	
		
		
		
	}

}
